home *** CD-ROM | disk | FTP | other *** search
- Path: news.trw.com!venice!usenet
- From: "Matthew M. Lih" <lih@venice.sedd.trw.com>
- Newsgroups: comp.lang.ada,comp.lang.c,comp.lang.c++
- Subject: Re: C/C++ knocks the crap out of Ada
- Date: Wed, 06 Mar 1996 12:25:16 -0800
- Organization: TRW Enterprise Solutions
- Message-ID: <313DF4AC.87D@venice.sedd.trw.com>
- References: <JSA.96Feb16135027@organon.com> <4hakfl$ogd@fred.netinfo.com.au> <4hf701INNdl7@keats.ugrad.cs.ubc.ca> <313B44AE.4134@mtm.syr.ge.com> <4hg92vINNnat@keats.ugrad.cs.ubc.ca>
- NNTP-Posting-Host: pat12251.sedd.trw.com
- Mime-Version: 1.0
- Content-Type: text/plain; charset=us-ascii
- Content-Transfer-Encoding: 7bit
- X-Mailer: Mozilla 2.0GoldB1 (WinNT; I)
-
- Kazimir Kylheku wrote:
- >
- > In article <313B44AE.4134@mtm.syr.ge.com>,
- > Steve Howard <howard@mtm.syr.ge.com> wrote:
- > >engineers make mistakes (Kazimir excluded, of course ;) ) Ada compilers and the supporting run-time
-
- > >systems help to identify these problems early on.
-
- > It would not have helped with this particular error. There was no type
- > mismatching, no overrun boundaries, no heap corruption or address violations.
- > Just a straight forward incorrect computation. The testers discovered the weird
- > results, and the cause still took a while to discover.
-
- I don't save these threads, but do you really think Steve expects Ada to
- catch errors like this? I don't think so.
-
- > If C is so prone to errors, why isn't the same program plagued by runaway
- > pointers, heap corruption and other nasties? After all, we C idiots can't write
- > ten lines of code without introducing such problems, right?
-
- Maybe you're an excellent programmer. But for every one of you there's ten of
- us who, while we're good, are going to inadvertently lose track of some of
- the nastiness. And for each of those ten, there's another ten who are just
- plain mediocre, and need lots of help. And just try getting all 111 people
- (you are keeping count, aren't you) to work on the same system, each doing
- a portion of the code. It's that kind of thing Ada works well for.
-
- Add to that things like typing '=' in a conditional when I meant '=='. Does
- lint catch this? (I don't know). And I'm a good typist.
-
-
- Matthew M. Lih
- Software Lead, SAIN Project
- TRW Enterprise Solutions
-